Skip to main content
POST
Stretched Image Restoration

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image
file
required
  • Image format: PNG JPG JPEG BMP.
  • Image size: No more than 8 MB.
  • Image resolution: Larger than 10x10px and smaller than 5000x5000px.
  • Image aspect ratio: Within 4:1.

Response

200 - application/json

Success

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
image
string

Base64 encoded image.

ratio
number<float>

Recover ratio.